Default file Connector
Default file Connector is used to handle Files in AWS S3

Default file-Connector features:
- Ability to read Files from s3
- Writing Files to s3
Operation available:
- Move file within the S3 bucket
- Delete file from the S3 bucket
Configuring File Connector
Reft click on connector, you can define the File Connector configuration
Here are different instances demonstrating how to access the information within a file and create a file based on a specific structure. Each illustration includes a quickintegration application utilizing DataWeave for both reading and writing files.
Read File Operation
Select the Default radio button and define configuration for file connector to read a file by selecting operation as Read. Add destination in properties to poll the file. Provide the file name and select operation(MOVE or DELETE) to define further course of action for the file read from the destination.

Fields | Description | Example |
---|---|---|
Type of file connector | File connector to be used for the file operation | Default |
File Operation | Read/Write | Read |
Datasource Name | Datasource name which is configured in connections properties Please refer the link for instructions on creating the Connector | filePath |
File Name/ Full path | Name of the file to be processed | temp |
File Type | Format of File | CSV |
OutPut | Output | readerO |
Operation | Operation of the file | Move |
Destination | Destination with file name, to move the file within the s3 bucket | /app/Schemas/Customers |
Write File Operation
Define configuration for file connector to write a file by selecting operation as Write. Add destination in properties to write the file. Provide the file name and file type(XML, JSON etc.). Please select Append to continue write operation in the same file or select OverWrite to overwrite the file every time operation is performed.

Fields | Description | Example |
---|---|---|
Type of file connector | File connector to be used for the file operation | Default |
File Operation | Read/Write | Write |
Datasource Name | Datasource Name which is configured in connections properties Please refer the link for instructions on creating the Connector | Successrecords |
File Name | Processed File | Contacts |
File Type | Format of File | CSV |
Input | Input | REQUEST_PAYLOAD |
Append/OverWrite | Select "append" to add the request or choose "overwrite" to modify the request | OverWrite |